# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-freecell-solver
pkgver=0.2.6
pkgrel=2
pkgdesc="Freecell Solver bindings"
url="https://fc-solve.shlomifish.org/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-pbr"
checkdepends="py3-testtools py3-stestr py3-oslotest py3-coverage"
source="https://pypi.python.org/packages/source/f/freecell_solver/freecell_solver-$pkgver.tar.gz"
options="!check" # Requires unavailable package hacking
builddir="$srcdir/freecell_solver-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c44616377ab628691594dc66ddcdb6e17a500035493720df8131d73bfe82d741a6c6f3e7c6cf1416b5831bd83532134a81aeba14604a0218dd33cfbe597c44bf  freecell_solver-0.2.6.tar.gz"
